<form method="post" action="<?php echo Url::generate($this->context->uri['module'], 'Do' . $this->context->uri['action']) ?>">
<fieldset>
<legend>账号和邮件</legend>
  <div>
  	<label><em>*</em>用户名</label>
  	<input name="username" type="text" />
  </div>
  <div>
  	<label><em>*</em>密码</label>
  	<input name="password" type="password" />
  </div>
  <div>
  	<label><em>*</em>确认密码</label>
  	<input name="password_confirm" type="password" /><span class="tips">（请再输入一次密码）</span>
  </div>
  <div>
  	<label><em>*</em>邮件地址</label>
  	<input name="email" type="text" />
  </div>
</fieldset>
<fieldset>
<legend>个人资料</legend>
<?php 
foreach ($this->userAttrConfs as $attrConf)
{
    FormItemRender::render($attrConf);
}
?>
</fieldset>
<fieldset>
<legend>安全验证</legend>
  <div>
  	<label><em>*</em>验证码</label>
  	<input name="captcha_word" type="text" />
  </div>
  <div>
  	<label></label>
  	<img src="<?php echo Url::generate("Common", "Captcha") ?>" />
  </div>
</fieldset>
  <div>
	  <input type="submit" class="submit" value="免费注册" />
  </div>
  <input type="hidden" name="return_url" value="<?php echo $this->context->request('return_url') ?>" />
</form>